|
|
|
|
Offset Property, SplitterClass Class |
Defines the horizontal offset of the splitter bar.
Syntax SplitterClass Class (Softelvdm.SftTreeNET)
VB |
Public Property Offset As Integer |
C# |
public int Offset { get; set; } |
C++ |
public: property int Offset { |
Property Value
The horizontal offset of the splitter bar. If the offset specified falls outside of the client area, the splitter bar is aligned with the left or right edge, whichever is closer to the offset specified.
The default value is 100.
Comments
The Offset property defines the horizontal offset of the splitter bar.
The Splitter.Visible property is used to define a splitter bar.
Splitter.MakeOptimal can be used to position the splitter bar optimally, so the left pane can display as much data as possible without a horizontal scroll bar (based on the left pane's HorizontalExtent property).
The coordinates of the splitter bar can be retrieved using the Splitter.Area property. The Splitter.Width property is used to change the width of the splitter bar.